MultiSafepay\WooCommerce\PaymentMethods\Base\BasePaymentMethod A

Total Complexity 64
Dependencies 13
Dependents 0
Total lines 472
Lines of code 270
Logical lines of code 143
Comment lines 131
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
validate_fields()
B
45 21 37
process_refund()
A
44 10 42
get_gateway_info_meta()
S
54 7 21
validate_enabled_field()
S
55 6 19
process_payment()
S
51 4 25
add_form_fields()
S
45 1 49
can_refund_order()
S
70 3 6
__construct()
S
50 1 30
get_logo()
S
64 2 9
validate_iban()
S
68 2 8
has_fields()
S
82 1 3
get_checkout_fields_ids()
S
82 1 3
get_gateway_info()
S
81 1 3
payment_fields()
S
80 1 3
get_countries()
S
76 1 4
get_order_statuses()
S
72 1 5
validate_gateway_info()
S
82 1 3